package com.example.spring.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author qwert
 * @version 1.0.0
 * @create 2024/12/29 14:54
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Task {
    private int id;
    private int userId;
    private String messageId;
    private int status;
    @TableField("completed_at")
    private LocalDateTime completedTime;
    @TableField("canceled_at")
    private LocalDateTime canceledTime;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
